
package ch.hearc.securiteSysteme.serie2.ex2ChallengeResponse.client.swing;

import javax.swing.JFrame;

/**
 *
 * Appeller la methode setPropriete dans le constructeur de la classe derivee
 * (objectif appeller setVisible en dernier)
 *
 */
public class JFrameBase extends JFrame
	{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7121665685904008177L;
	
	/*------------------------------------------------------------------*\
	|*							Constructeurs							*|
	\*------------------------------------------------------------------*/
	public JFrameBase()
		{
		}
	
	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/
	
	/*------------------------------------------------------------------*\
	|*							Methodes Private						*|
	\*------------------------------------------------------------------*/
	
	protected void setPropriete()
		{
		this.setTitle("Frame Base");
		this.setLocation(0, 0);
		this.setSize(400, 200);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setVisible(true);
		}
	
	/*------------------------------------------------------------------*\
	|*							Attributs Private						*|
	\*------------------------------------------------------------------*/
	}
